import { Component } from 'react'
import { View, image } from '@tarojs/components'
import { AtGrid } from "taro-ui"
import pic1 from "../../assets/images/u218.png";
import pic2 from "../../assets/images/u221.png";
import pic3 from "../../assets/images/u224.png";
class MyGrid extends Component{
    constructor () {
        super(...arguments)
        this.state = {
          value: ''
        }
      }
      componentWillMount () { }

      componentDidMount () { }
    
      componentWillUnmount () { }
    
      componentDidShow () { }
    
      componentDidHide () { }
      
      render(){
          return(
            <View>
            <AtGrid  hasBorder={false} data={
              [
                {   image:pic1,
                    value:'国医堂'},
                {   image:pic2,
                    value:'预约挂号'},
                {    image:pic3,
                    value:'智能导诊'}
              ]  
            }/>
        </View>
          )
      }
}
export default MyGrid